<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加用户</title>
</head>
<body>
    <h3>新增用户</h3>
    <hr/>
    <form th:action="@{/users/updateUser}" method="post" th:each="users :${users}">
        <input type="hidden" name="id" th:value="${users.id}">
        姓名：<input type="text" name="nam" th:value="${users.nam}"/><br/>
        密码：<input type="text" name="pwd" th:value="${users.pwd}"/><br/>
        <!--性别：-->
        <!--<label class="radio-inline">-->
            <!--<input type="radio" name="sex" th:field="*{sex}" value="0" checked>男-->
        <!--</label>-->
        <!--<label class="radio-inline">-->
            <!--<input type="radio" name="sex" th:field="*{sex}" value="1">女-->
        <!--</label><br>-->
        生日：<input type="date" name="birth" th:value="${#dates.format(users.birth,'yyyy-MM-dd')}"/><br/>
        <input type="submit" value="确定"/><br/>
    </form>
</body>
</html>